/**
 * Company
 * Copyright (C) 2004-2018 All Rights Reserved.
 */
package com.idefav.aopdemo.impl;

import com.alibaba.fastjson.JSON;
import com.idefav.aopdemo.User;
import com.idefav.aopdemo.UserService;

/**
 * @author wuzishu
 * @version $Id UserServiceImpl.java, v 0.1 2018-05-27 下午1:31 wuzishu Exp $$
 */
public class UserServiceImpl implements UserService {
    @Override
    public User getUser() {
        User user=new User();
        user.setUserId("test1");
        user.setUserName("testname");
        System.out.println(JSON.toJSON(user));
        return user;
    }

    @Override
    public void setUser() {
        System.out.println("set user");
    }
}
